package cn.edu.nankai.bookstore.domain.po;

import java.io.Serializable;

public class Receiver implements Serializable {
    private int receiverId;
    private String name;

    public Receiver(int receiverId, String name) {
        this.receiverId = receiverId;
        this.name = name;
    }

    public Receiver(String name) {
        this.name = name;
    }

    public Receiver() {
    }

    public int getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(int receiverId) {
        this.receiverId = receiverId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Receiver{" +
                "receiverId=" + receiverId +
                ", name='" + name + '\'' +
                '}';
    }
}
